package com.xuecheng.ucenter.service;

import com.xuecheng.ucenter.model.po.XcUser;

import java.util.Map;

/**
 * @author shiminghui
 * @date 2024/9/8 19:56
 * @description: TODO
 */
public interface WxAuthService {
    /**
     * 微信登录检验
     *
     * @param code
     * @return
     */
    public XcUser wxAuth(String code);

    /**
     * 保存用户信息到数据库
     *
     * @param userInfo_map
     * @return
     */
    public XcUser addWxUser(Map<String, String> userInfo_map);
}
